package demo2;

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.openComputer();
        computer.useDevice(new Keyborad());
        computer.useDevice(new Screen());
        computer.closeComputer();
    System.out.println("-----------");
        //IUSB iusb = new IUSB();
        IUSB.test();
        Screen screen = new Screen();
        screen.test1();
    }
}
